home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / vclcom.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.4 KB  |  45 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'VCLCom.pas' rev: 3.00
  6.  
  7. #ifndef VCLComHPP
  8. #define VCLComHPP
  9. #include <Classes.hpp>
  10. #include <ComObj.hpp>
  11. #include <ActiveX.hpp>
  12. #include <SysInit.hpp>
  13. #include <System.hpp>
  14.  
  15. //-- user supplied -----------------------------------------------------------
  16.  
  17. namespace Vclcom
  18. {
  19. //-- type declarations -------------------------------------------------------
  20. class DELPHICLASS TComponentFactory;
  21. class PASCALIMPLEMENTATION TComponentFactory : public Comobj::TAutoObjectFactory 
  22. {
  23.     typedef Comobj::TAutoObjectFactory inherited;
  24.     
  25. protected:
  26.     virtual Comobj::TComObject* __fastcall CreateComObject(const _di_IUnknown Controller);
  27.     virtual void __fastcall UpdateRegistry(bool Register);
  28.     
  29. public:
  30.     __fastcall TComponentFactory(Comobj::TComServerObject* ComServer, System::TMetaClass* ComponentClass
  31.         , const GUID &ClassID, Comobj::TClassInstancing Instancing);
  32. public:
  33.     /* TComObjectFactory.Destroy */ __fastcall virtual ~TComponentFactory(void) { }
  34.     
  35. };
  36.  
  37. //-- var, const, procedure ---------------------------------------------------
  38.  
  39. }    /* namespace Vclcom */
  40. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  41. using namespace Vclcom;
  42. #endif
  43. //-- end unit ----------------------------------------------------------------
  44. #endif    // VCLCom
  45.